Gitgraph Diagram
code:mmd
gitGraph
commit
commit
branch develop
checkout develop
commit
commit
checkout main
merge develop
commit
commit
code:mmd
gitGraph TB:
%% rotateCommitLabel: true
%% showBranches: true
%% showCommitLebel: false
%% mainBranchName: "hoge"
%% mainBranchOrder: 1
commit id: "abc"
commit type: reverse
commit type: highlight tag: "v1.0.0"
branch develop
commit
commit
branch hotfix
commit id: "hot"
commit
commit
checkout hotfix
checkout main
merge develop
commit
commit
cherry-pick id: "hot"
commit
code:mmd
gitGraph TB:
commit tag:"Initial production"
branch develop
checkout develop
commit
commit
branch feature_branch
checkout feature_branch
commit
commit
commit
checkout develop
commit
commit
checkout feature_branch
commit
checkout develop
merge feature_branch
checkout main
merge develop tag:"Next production"
checkout develop
commit
commit
checkout main
merge develop tag:"Next production_2"
checkout develop
commit
commit tag:"Next release"
hotfix
code:mmd
gitGraph
commit tag:"1.2"
branch develop
commit
commit
commit
checkout main
branch hotfix
commit
commit
checkout develop
merge hotfix
checkout main
merge hotfix tag:"1.2.1"
checkout develop
commit
git merge --no-ff
code:mmd
gitGraph LR:
commit
commit
branch feature_branch
checkout feature_branch
commit
commit
commit
checkout main
merge feature_branch
git merge(plain)
code:mmd
gitGraph LR:
commit
commit
commit
commit
commit
commit